import logging
import logging.config

if __name__ == "__main__":
    logging.config.fileConfig('log.conf')
    logger = logging.getLogger('Test');
    logger.info('hah')
